function child_mcys(year, month, order){
    checklogin();
    //alert(year);
    var url = "mcys/do_child_mcys";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year,
        month:month,
        order:order
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}

function child_non_mcys(year, month, order){
    checklogin();
    //alert(year);
    var url = "mcys/do_child_non_mcys";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year,
        month:month,
        order:order
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}

function child_withdrawn(year, month, order){
    checklogin();
    //alert(year);
    var url = "mcys/do_child_withdrawn";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year,
        month:month,
        order:order
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}

function withdrawal(year, month, order){

    checklogin();
    //alert(year);
    var url = "mcys/do_withdrawal";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year,
        month:month,
        order:order
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}
function mcys_annual(year){
    checklogin();
    //alert(year);
    var url = "mcys/do_mcys_annual";
    $("#the_content").html('');
    $("#the_waiting").html('<img src = "../images/spinner.gif" />');
    $.post(url, {
        year:year
    }, function(data) {
        $("#the_waiting").html('');
        $("#the_content").html(data).fadeIn();
    }, "html");
}